package com.woniuxy02;

import java.util.Date;

/**
 * @author 作者
 * @create 2025-06-05 10:50
 */
public class Test01 {
    public static void main(String[] args) {
        //获取当前时间
        Date date = new Date();
        System.out.println(date);
        Date date1 = new Date(System.currentTimeMillis());
        System.out.println(date1.getYear());
        System.out.println(date1.getYear()+1900);
        System.out.println(date1.getMonth());
        System.out.println(date1.getMonth()+1);

        String gender="男";
        gender="女";
        gender="<UNK>";

        Gender gender1=Gender.male;
        gender1=Gender.female;
        gender1=Gender.xxx;

    }
}
